#pragma once


#include <QWidget>

namespace Ui {
class LoginWidget;
}

class LoginWidget : public QWidget
{
  Q_OBJECT

 public:
  explicit LoginWidget(QWidget *parent = nullptr);
  ~LoginWidget();

 signals:
  void login(const QString &txt,bool admin,int loan,int max);

 private slots:
  void on_buttonBox_accepted();

  void on_buttonBox_rejected();

 private:
  Ui::LoginWidget *ui;
};

